package com.sasis.webapp.dwr;

import com.sasis.model.FlightTransferHotel;
import com.sasis.service.FlightTransferHotelManager;

public class FlightTransferHotelRemote {
	private FlightTransferHotelManager flightTransferHotelManager;

	public void setFlightTransferHotelManager(
			FlightTransferHotelManager flightTransferHotelManager) {
		this.flightTransferHotelManager = flightTransferHotelManager;
	}

	public boolean deleteTransferHotel(String[] ids) {
		FlightTransferHotel flightTransferHotel = new FlightTransferHotel();
		if (null != ids && 0 != ids.length) {
			flightTransferHotel.setIds(ids);
			flightTransferHotelManager
					.removeFlightTransferHotel(flightTransferHotel);

		}
		return true;
	}

}
